package com.company.user.vo;


import java.io.Serializable;

public class BaseResponse implements Serializable {
    /**
     * 注释内容
     */
    private static final long serialVersionUID = 1L;

    private int code = 0;
    private String message = "操作成功";
    private Object datas;
    private int size = 0;

    public BaseResponse() {
    }

    public BaseResponse(Object datas) {
        this.datas = datas;
    }


    public void setTeachermCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDatas() {
        return datas;
    }

    public void setDatas(Object datas) {
        this.datas = datas;

    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
